package com.cmc.cloud.cmclink.doc.vo.edo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * EDO
 * @author heguo
 */
@Data
public class CnTxgEdoBaseVO extends EdoBaseVO{

    @Schema(description = "操作类型，新增-1 , 删除-2")
    private String opType;
    @Schema(description = "发送人,默认值'911201167005272334'")
    private String despatcherCode;
    @Schema(description = "发送时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String despatcherTime;
    @Schema(description = "（预约）换单人统一社会信用代码")
    private String doCode;
    @Schema(description = "实际（预约）换单人名称")
    private String confUserName;
    @Schema(description = "实际（预约）换单人名称")
    private String doCaptcha;
    @Schema(description = "（换单类型：P:Print  E:E DO")
    private String doType;

}
